<?php
	$css_list[0]['url'] = './tpl/css/setting.css';
	$js_list[0] = './public/js/city.js';
?>
<!--{template inc/header_n}-->
<div id="body" class="fm960">
	<div class="piece1">
		<div class="piece1_hd"></div>
		<div class="piece1_bd clearfix">
			<div style="width:1180px;">
				<!--{template inc/settings/settings_menu}-->
				<div id="setting_box" class="fl">
					<div id="setting_form" class="setting_basic">
					    <p><a href="/shareinfo.php?action=shareart{if $_GET['anli']==1}&anli=1{elseif $_GET['jiage']==1}&jiage=1{/if}" class="g_btn1">发布新{if $_GET['anli']==1}案例{elseif $_GET['jiage']==1}价格{else}经验{/if}</a></p>
                        <br />
					    <table width="100%" border="0" cellspacing="1" class="table_list">
					    {loop $article_list $v}
					    {if !$_GET['jiage']}
                            <tr>
                                <td><a href="/article.php?action=show&id={$v['id']}" target="_blank"><img src="{$v['img']}" width="100" /></a></td>
                                <td><a href="/article.php?action=show&id={$v['id']}" target="_blank">{$v['title']}</a></td>
                                <td width="100"><?php echo date('Y-m-d',$v['create_time']); ?></td>
                                <td>
                                	<a href="/shareinfo.php?action=shareart&id={$v['id']}&anli={$v['anli']}">编辑</a>
                                	<a href="/shareinfo.php?action=delart&id={$v['id']}">删除</a>
                                </td>
                            </tr>
                        {else}
                            <tr>
                                <td>{$v['price']}元</td>
                                <td>
                                	<a href="/shareinfo.php?action=shareart&id={$v['id']}&jiage=1">编辑</a>
                                	{if $realname['stype'] == 1}
                                	{if $anliinfo['id'] == $v['id']}
                                	<span style="color:red;">已默认</span>
                                	{else}
                                	<a href="/shareinfo.php?action=listart&op=setdefault&id={$v['id']}">设为默认</a>
                                	{/if}
                                	{/if}
                                	<a href="/shareinfo.php?action=delart&id={$v['id']}">删除</a>
                                </td>
                            </tr>
                        {/if}
					    {/loop}
					    </table>
                        <div class="pagination mt20"> 				
                        	<!--{subtemplate inc/pages}--> 
                        </div>
					</div>
				</div>
			</div>
		</div>
		<div class="piece1_ft"></div>
	</div>
	
	<div class="huoguojun2" id="huoguojun"><a href="/list.php?action=robot"><img src="/public/v1/img/huoguojun.png"></a></div>
    <div class="i_notice2">
        <div class="j_title">公告栏</div>
        <div class="j_list">
            <ul>
                <li><a href="#"><span style="color:red;">泡泡火锅加盟,提供个大卫视广告宣传</span></a></li>
                <li><a href="#">火锅怎么做才好吃?</a></li>
                <li><a href="#">谁能给我一份火锅配菜全谱?</a></li>
                <li><a href="#">火锅一般而言,是以锅为器具</a></li>
                <li><a href="#">泡泡火锅加盟,提供个大卫视广告宣传</a></li>
                <li><a href="#">火锅怎么做才好吃?</a></li>
                <li><a href="#">谁能给我一份火锅配菜全谱?</a></li>
                <li><a href="#">火锅一般而言,是以锅为器具</a></li>
            </ul>
        </div>
    </div>
</div>
<!--{template inc/footer}-->